home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / tx.man < prev    next >
Encoding:
Text File  |  1990-08-16  |  26.2 KB  |  663 lines

  1.  
  2.  
  3.  
  4. TX                        User Commands                        TX
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NNAAMMEE
  11.      tx - Scrollable terminal emulator for X
  12.  
  13. SSYYNNOOPPSSIISS
  14.      ttxx [_o_p_t_i_o_n_s]
  15.  
  16. OOPPTTIIOONNSS
  17.      --bbdd _c_o_l_o_r      Use _c_o_l_o_r as the border color for the window.
  18.                     If  this  switch isn't given then the bboorrddeerr--
  19.                     CCoolloorr X default is used.  If it  isn't  given
  20.                     either, then the foreground color is used.
  21.  
  22.      --bbgg _c_o_l_o_r      Use _c_o_l_o_r as the  background  color  for  the
  23.                     window.   If this switch isn't given then the
  24.                     bbaacckkggrroouunndd X default is used.   If  it  isn't
  25.                     given  either,  or if the display is a black-
  26.                     and-white one, then White is used.
  27.  
  28.      --DD             Causes ttxx  not  to  detach  itself  from  its  |
  29.                     parent process.                                |
  30.  
  31.      --ddiissppllaayy _h_o_s_t::_d_i_s_p_l_a_y                                              ||
  32.                     Use  _h_o_s_t and _d_i_s_p_l_a_y as an indication of the  |
  33.                     display on which to  open  the  window.   The  |
  34.                     display  defaults to the one specified in the  |
  35.                     DDIISSPPLLAAYY environment variable.
  36.  
  37.      --ffgg _c_o_l_o_r      Use _c_o_l_o_r as the  foreground  color  for  the
  38.                     window.   If this switch isn't given then the
  39.                     ffoorreeggrroouunndd X default is used.   If  it  isn't
  40.                     given  either,  or if the display is a black-
  41.                     and-white one, then Black is used.
  42.  
  43.      --ffnn _f_o_n_t       Use _f_o_n_t as the font for the window.  If this
  44.                     switch  isn't  given, then the ffoonntt X default
  45.                     is used as  the  font.   If  it  isn't  given
  46.                     either, then the Sx default font is used.
  47.  
  48.      --ggeeoommeettrryy _g_e_o_m_e_t_r_y
  49.                     Use _g_e_o_m_e_t_r_y as the geometry for the  window.  |
  50.                     If  no  geometry  is specified on the command  |
  51.                     line, it the geometry defaults to  the  value  |
  52.                     of  the ggeeoommeettrryy X default.  If no default is  |
  53.                     specified, then ttxx picks a geometry.           |
  54.  
  55.      --hheellpp                                                              ||
  56.                     Print  out a list of the command-line options  |
  57.                     (and brief descriptions of  their  functions)  |
  58.                     and exit without opening a window.
  59.  
  60.  
  61.  
  62.  
  63. Sprite v.1.0        Printed:  August 15, 1990                   1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. TX                        User Commands                        TX
  71.  
  72.  
  73.  
  74.      --iiccoonn _f_i_l_e     _F_i_l_e is the name of a file in bitmap  format.
  75.                     Read  the file and use it as the icon for the
  76.                     window.   If  _f_i_l_e  is  llooccaallhhoosstt,  then   ttxx
  77.                     chooses  the  default icon file corresponding
  78.                     to the local host.
  79.  
  80.      --iixx _x_c_o_o_r_d     Display the icon at x-coordinate _x_c_o_o_r_d.
  81.  
  82.      --iiyy _y_c_o_o_r_d     Display the icon at y-coordinate _y_c_o_o_r_d.
  83.  
  84.      --ssbb _c_o_l_o_r      Use _c_o_l_o_r as the  background  color  for  the
  85.                     window's  scrollbar.   If  this  switch isn't
  86.                     given then the ssccrroollllbbaarr..bbaacckkggrroouunndd X default
  87.                     is  used.  If it isn't given either, then the
  88.                     background color for the text window is used.
  89.  
  90.      --ssee _c_o_l_o_r      Use _c_o_l_o_r  as  the  color  for  the  window's
  91.                     scrollbar  elevator.   If  this  switch isn't
  92.                     given then the ssccrroollllbbaarr..eelleevvaattoorr  X  default
  93.                     is  used.  If it isn't given either, then the
  94.                     background color for the text window is used.
  95.  
  96.      --ssff _c_o_l_o_r      Use _c_o_l_o_r as the  foreground  color  for  the
  97.                     window's  scrollbar.   If  this  switch isn't
  98.                     given then the ssccrroollllbbaarr..ffoorreeggrroouunndd X default
  99.                     is  used.  If it isn't given either, then the
  100.                     foreground color for the text window is used.
  101.  
  102.      --sshhoowwttiittllee     Display a title bar at the top of the window.  |
  103.                     Tx  normally  assumes  that  a window manager  |
  104.                     will display a title  bar;   if  your  window  |
  105.                     manager  doesn't,  you  may  wish to use this  |
  106.                     switch.  If this switch isn't specified, then  |
  107.                     Tx  checks  for  a sshhoowwTTiittllee X default; if it  |
  108.                     exists and contains the string ``yes'',  then  |
  109.                     a title bar will be displayed.
  110.  
  111.      --ttbb _c_o_l_o_r      Use _c_o_l_o_r as the  background  color  for  the
  112.                     window's  title  bar.   If  this switch isn't
  113.                     given then the ttiittllee..bbaacckkggrroouunndd X default  is
  114.                     used.   If  it  isn't  given either, then the
  115.                     background color for the text window is used.
  116.                     This option is ignored if Tx isn't displaying
  117.                     a title bar.
  118.  
  119.      --ttff _c_o_l_o_r      Use _c_o_l_o_r as the  foreground  color  for  the
  120.                     window's  title  bar.   If  this switch isn't
  121.                     given then the ttiittllee..ffoorreeggrroouunndd X default  is
  122.                     used.   If  it  isn't  given either, then the
  123.                     foreground color for the text window is used.
  124.                     This option is ignored if Tx isn't displaying
  125.                     a title bar.
  126.  
  127.  
  128.  
  129. Sprite v.1.0        Printed:  August 15, 1990                   2
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. TX                        User Commands                        TX
  137.  
  138.  
  139.  
  140.      --ttss _c_o_l_o_r      Use _c_o_l_o_r as the color for the window's title
  141.                     stripes.  If this switch isn't given then the
  142.                     itle.stripe X default is used.  If  it  isn't
  143.                     given  either,  then the foreground color for
  144.                     the text window  is  used.   This  option  is
  145.                     ignored if Tx isn't displaying a title bar.
  146.  
  147.      --ttiittllee _n_a_m_e    Display _n_a_m_e in the title bar for the window.
  148.                     The  default title is the name of the pseudo-
  149.                     terminal associated with the window.
  150.  
  151.      ==_g_e_o_m_e_t_r_y      Use _g_e_o_m_e_t_r_y as the  geometry  specifier  for
  152.                     the  window  (same  effect  as  the --ggeeoommeettrryy
  153.                     ooppttiioonn))..
  154.  
  155.      _h_o_s_t:_d_i_s_p_l_a_y   Use this argument to select  the  display  on
  156.                     which  to  create  the window (same effect as
  157.                     the --ddiissppllaayy option).
  158.  
  159.      --ee _c_o_m_m_a_n_d     This switch must be the last one,  if  it  is
  160.                     present.   The  arguments  following  the  --ee
  161.                     switch constitute the command to  execute  in
  162.                     the  window.  _C_o_m_m_a_n_d is run using the termi-
  163.                     nal emulator for standard input and  standard
  164.                     output.  When the command completes, the win-
  165.                     dow will be destroyed and ttxx will exit.   The
  166.                     default  command  is ``/bin/csh -i'', or if a
  167.                     SHELL environment variable is  defined,  then
  168.                     it is invoked with a -i argument.
  169.  
  170. _________________________________________________________________
  171.  
  172. IINNTTRROODDUUCCTTIIOONN
  173.      TTxx is a terminal emulator that uses the facilities of the  X
  174.      window  system,  the  Sx  supplementary library, and the Tcl
  175.      command interpreter.   It  executes  a  command  (usually  a
  176.      shell)  and  arranges  for  the command's standard input and
  177.      standard output streams to be  directed  from/to  a  pseudo-
  178.      terminal  controlled by ttxx.  TTxx, in turn, displays a scroll-
  179.      able window in more-or-less the same way as mmxx;  output from
  180.      the  application  is  displayed in the window and keystrokes
  181.      typed in the window are passed through to  the  application.
  182.      TTxx windows emulate a very simple terminal with enough facil-
  183.      ities to run programs like vi.
  184.  
  185.      The implementation of ttxx is very similar to that of mmxx;   it
  186.      shares  much  of  the  code  and  many of the commands.  You
  187.      should read the mmxx manual page before reading this  one,  in
  188.      order  to learn about the basic command interface and the mmxx
  189.      commands.  TTxx commands that are identical to mmxx commands are
  190.      not  documented  here  except  by reference to the mmxx manual
  191.      page.
  192.  
  193.  
  194.  
  195.  
  196.  
  197. Sprite v.1.0        Printed:  August 15, 1990                   3
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204. TX                        User Commands                        TX
  205.  
  206.  
  207.  
  208. ..TTXX FFIILLEESS
  209.      After processing command line options and opening  the  win-
  210.      dow,  ttxx  checks for the existence of a file ``.tx'' in your
  211.      home directory (environment variable  HOME).   If  the  file
  212.      exists,  ttxx  reads it in and processes it as a command file,
  213.      just as if it were read with the ssoouurrccee  command.   Then  it
  214.      checks  for  a  .tx  file  in  the  current  directory,  and
  215.      processes it if it exists.
  216.  
  217.  
  218. SSEELLEECCTTIIOONN
  219.      Selection in ttxx is identical to that in mmxx, except  for  one
  220.      difference.   In  ttxx  the caret always appears at the end of
  221.      the typescript, except when the typescript  is  in  vi  mode
  222.      (see  the  vvii  command);   there is no way to reposition the
  223.      caret with the mouse.
  224.  
  225.  
  226. VVAARRIIAABBLLEESS
  227.      See the mmxx manual page for overall information.  The special
  228.      variables defined by ttxx are:
  229.  
  230.           aarrggss Set by ttxx to hold the  arguments  to  the  current
  231.                variable being executed, if any.
  232.  
  233.           hheeiigghhtt
  234.                Set by ttxx to hold the height  of  the  window,  in
  235.                lines  of text.  If the last line appearing in the
  236.                window  is  only  partially  visible,  it  doesn't
  237.                count.
  238.  
  239.           sseeaarrcchhCCmmdd
  240.                When  the  middle  button  is   clicked   in   the
  241.                ``Search''  string  entry, or when carriage-return
  242.                is typed there, the contents of this variable  are
  243.                executed as a command.
  244.  
  245.           sseeaarrcchhSSttrriinngg
  246.                Set by ttxx to hold the contents of the search entry
  247.                subwindow.
  248.  
  249.           tteerrmmccaapp
  250.                Set by ttxx to hold a termcap  entry  that  provides
  251.                enough  functionality  to run Vi and other prehis-
  252.                toric screen-based programs.  It's based on a ter-
  253.                minal type ``tx''.  This variable is automatically
  254.                reset whenever the window changes size.
  255.  
  256.           vveerrssiioonn
  257.                Set by ttxx to hold a version  number  in  the  form  |
  258.                _x._y,  where changes in _x correspond to major revi-  |
  259.                sions with probable incompatibilities, and changes  |
  260.  
  261.  
  262.  
  263. Sprite v.1.0        Printed:  August 15, 1990                   4
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270. TX                        User Commands                        TX
  271.  
  272.  
  273.  
  274.                in  _y  represent small bug fixes and upgrades that  |
  275.                should not cause substantial  compatibility  prob-  |
  276.                lems.
  277.  
  278.           wwiiddtthh
  279.                Set by ttxx to hold the  width  of  the  window,  in
  280.                characters.   If  the  last  character position is
  281.                only partially-visible, then it doesn't count.  If
  282.                a  variable-width  font is being used, the average
  283.                character size is used in computing  the  window's
  284.                width.
  285.  
  286.           wwiinnddoowwIIdd
  287.                Set by ttxx to hold the X window identifier for this
  288.                window.
  289.  
  290.  
  291. MMAARRKKSS
  292.      See the mmxx manual page for documentation.  The same  special
  293.      marks are defined in ttxx as in mmxx.
  294.  
  295.  
  296. CCOOMMMMAANNDDSS
  297.      TTxx is based around the Tcl interpreter just as mmxx is.   Each
  298.      keystroke  or  menu  selection  is  bound  to  a Tcl command
  299.      string, which is passed to the Tcl  interpreter  for  execu-
  300.      tion.  See the Tcl man page for details on the built-in com-
  301.      mands provided by Tcl.  In addition to them, ttxx provides the
  302.      following  additional  built-in  commands.  Many of them are
  303.      identical to the corresponding commands in mmxx.
  304.  
  305.      bbiinndd [_s_e_q_u_e_n_c_e [_c_o_m_m_a_n_d]]
  306.           Same as in mmxx.
  307.  
  308.      ccaarreett _o_p_e_r_a_n_d
  309.           Same as in mmxx.
  310.  
  311.      ccoonnttrrooll _o_p_t_i_o_n _s_t_r_i_n_g
  312.           Same as in mmxx.                                           |
  313.  
  314.      ddeelleettee _m_a_r_k_1 [_m_a_r_k_2]
  315.           Same as in mmxx.
  316.  
  317.      eessccaappee _o_p_t_i_o_n
  318.           If _o_p_t_i_o_n is oonn, this command enables escape  sequences
  319.           in  window output:  whenever ttxx finds an escape charac-
  320.           ter (338) in the stream of  characters  output  to  the
  321.           pseudo-device  for  display  in the window, it discards
  322.           the escape sequence and interprets the following  char-
  323.           acters (up to and including the next newline character)
  324.           as a ttxx command rather than characters to be  displayed
  325.           in  the window.  If _o_p_t_i_o_n is ooffff, escape sequences are
  326.  
  327.  
  328.  
  329. Sprite v.1.0        Printed:  August 15, 1990                   5
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336. TX                        User Commands                        TX
  337.  
  338.  
  339.  
  340.           disabled:  they will be output to the window just  like
  341.           any  other characters.  Escape sequences are enabled by
  342.           default in ttxx, and must  be  enabled  for  the  TERMCAP
  343.           mechanisms  to  work.   This  command is most useful to
  344.           temporarily  disable  escape-processing  while  running
  345.           programs that generate meaningless escape sequences.
  346.  
  347.      eexxttrraacctt _m_a_r_k_1 [_m_a_r_k_2]
  348.           Same as in mmxx.
  349.  
  350.      ffooccuuss _w_i_n_d_o_w [cclleeaarr]
  351.           Same as in mmxx.
  352.  
  353.      ggeeoommeettrryy _s_p_e_c
  354.           Same as in mmxx.
  355.  
  356.      iinnsseerrtt _b_y_t_e_s _b_y_t_e_s ...
  357.           Send _b_y_t_e_s to the application as keyboard input on  the
  358.           pty.  If more than one _b_y_t_e_s argument is supplied, each
  359.           is input in turn, with a single space between them.
  360.  
  361.      mmaarrkk _s_r_c _o_p _a_r_g_s
  362.           Same as in mmxx.
  363.  
  364.      mmeennuu _o_p_t_i_o_n _a_r_g_s
  365.           Same as in mmxx.
  366.  
  367.      mmeessssaaggee _s_t_r_i_n_g
  368.           Same as in mmxx.
  369.  
  370.      mmxxooppeenn [_o_p_t_i_o_n_s] _f_i_l_e _f_i_l_e ...
  371.           Same as ooppeenn command in in mmxx.  Used to  create  an  mmxx  |
  372.           window from ttxx, e.g. to display variable values.         |
  373.  
  374.      mmxxsseenndd _w_i_n_d_o_w _c_o_m_m_a_n_d                                              ||
  375.           Same  as  in sseenndd command in mmxx.  Used to send commands  |
  376.           to mmxx windows created from ttxx.
  377.  
  378.      ooppeenn [_o_p_t_i_o_n_s]
  379.           Open a new ttxx window.  The _o_p_t_i_o_n_s to this command  are  |
  380.           exactly the same as the command-line options for the ttxx  |
  381.           program, with the  following  exceptions.   If  the  --ee  |
  382.           switch  is  given, then a new typescript is created and  |
  383.           all the remaining arguments to ooppeenn are used as a  com-  |
  384.           mand  name  and arguments for the top-level application  |
  385.           in the new typescript.  If the --ee option is not  given,  |
  386.           then  the  new window will provide an alternate view on  |
  387.           the same typescript as the  invoking  window.   The  --DD  |
  388.           option is not permitted, nor are options that specify a  |
  389.           display.  If no  geometry  specification  is  given  in  |
  390.           _o_p_t_i_o_n_s,  then ttxx uses the contents of the global vari-  |
  391.           able ggeeoommeettrryy as a default geometry;   if  no  ggeeoommeettrryy  |
  392.  
  393.  
  394.  
  395. Sprite v.1.0        Printed:  August 15, 1990                   6
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402. TX                        User Commands                        TX
  403.  
  404.  
  405.  
  406.           variable  exists,  then  ttxx  picks  a default geometry.  |
  407.           Other options,  such  as  foreground  color  and  font,  |
  408.           default  to the values from the invoking window, rather  |
  409.           than looking for X  defaults.   OOppeenn  sets  the  global
  410.           variable  nneewwWWiinnddooww to hold the id of the newly-created
  411.           window.  This may be used in conjunction with the  sseenndd
  412.           command  to  issue  commands  to  the  new window.  The
  413.           return value is always an empty string.
  414.  
  415.      oouuttppuutt _b_y_t_e_s
  416.           Insert _b_y_t_e_s in the output display as if they had  been
  417.           output by the application.
  418.  
  419.      qquuiitt Destroy the ttxx window and end the program.
  420.  
  421.      qquuoottee
  422.           Same as in mmxx.                                           |
  423.  
  424.      sseeaarrcchh [_d_i_r_e_c_t_i_o_n [_p_a_t_t_e_r_n]]
  425.           Same as in mmxx.
  426.  
  427.      sseeee _m_a_r_k [[ttoopp|cceenntteerr|bboottttoomm]
  428.           Same as in mmxx.
  429.  
  430.      sseelleeccttiioonn _o_p_t_i_o_n [_a_r_g ...]
  431.           Same as in mmxx.
  432.  
  433.      sseenndd _w_i_n_d_o_w _c_o_m_m_a_n_d
  434.           Same as in mmxx.
  435.  
  436.      ttiittllee _l_e_f_t _c_e_n_t_e_r _r_i_g_h_t _w_m_N_a_m_e
  437.           Change the title information for the window.  _L_e_f_t will  |
  438.           be  displayed at the left side of the title bar, _c_e_n_t_e_r  |
  439.           in the middle of the bar, and _r_i_g_h_t at the  right  side  |
  440.           of  the  title bar.  If any of these three arguments is  |
  441.           an empty string, then nothing will be displayed in  the  |
  442.           corresponding  position.   The  string  given by _w_m_N_a_m_e  |
  443.           will be recorded as the window's name  for  the  window  |
  444.           manager.   This name will probably appear when the win-  |
  445.           dow is iconified, for example.  If Tx isn't  displaying  |
  446.           a  title  for the window, then only the _w_m_N_a_m_e argument  |
  447.           will be used.
  448.  
  449.      uuppddaattee
  450.           Same as in mmxx.
  451.  
  452.      vvii _o_p_t_i_o_n _a_r_g_s
  453.           This command provides an alternate mode  of  operation,
  454.           called  ``vi mode'', which provides sufficient terminal
  455.           emulation to run the vi editor.  When the window is  in
  456.           vi  mode,  an  additional  window-full  of  blank lines
  457.           (called the _v_i _a_r_e_a) is added at the beginning (top) of
  458.  
  459.  
  460.  
  461. Sprite v.1.0        Printed:  August 15, 1990                   7
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468. TX                        User Commands                        TX
  469.  
  470.  
  471.  
  472.           the  typescript,  and  the  view  is shifted to display
  473.           those lines.  Most of the vvii commands are used only  in
  474.           the  crude  termcap  entry that ttxx provides for itself.
  475.           The vvii command must have one of the following forms:
  476.  
  477.           vvii eenntteerr
  478.                Enter vi mode.  Fill the vi area with blank lines,
  479.                change  the  window's view to display those lines,
  480.                and move the caret to position 0.0.
  481.  
  482.           vvii lleeaavvee
  483.                Leave vi mode.  Delete the lines in the  vi  area,
  484.                move  the caret back to the end of the typescript,
  485.                and change the window's view to display the end of
  486.                the typescript.
  487.  
  488.           vvii ccdd
  489.                Clear all the lines on the screen at or below  the
  490.                caret position, leaving the caret at the beginning
  491.                of its (now-blank) line.  This command is provided
  492.                primarily for emulating the ccdd termcap entry.
  493.  
  494.           vvii ccee
  495.                Clear from the caret position to the  end  of  the
  496.                line, leaving the caret where it is.  This command
  497.                is provided primarily for emulating the ccee termcap
  498.                entry.
  499.  
  500.           vvii cclleeaarr
  501.                Clear the lines in the vi area and move the  caret
  502.                to the home position (0.0).
  503.  
  504.           vvii ccuurrssoorr _l_i_n_e_I_n_d_e_x _c_h_a_r_I_n_d_e_x
  505.                Set the caret position to line _l_i_n_e_I_n_d_e_x,  charac-
  506.                ter  _c_h_a_r_I_n_d_e_x.  This position must lie within the
  507.                via area.
  508.  
  509.           vvii ddeelleetteelliinnee
  510.                Delete the line containing the caret,  and  add  a
  511.                new  line to the bottom of the vi area to keep the
  512.                total number of lines in the via area constant.
  513.  
  514.           vvii iinnsseerrttlliinnee
  515.                Add a new blank line to the vi area,  just  before
  516.                the caret (the caret should be at the beginning of
  517.                a line).  Delete the last line in the vi area,  in
  518.                order  to keep the total number of lines in the vi
  519.                area constant.
  520.  
  521.           vvii oonn
  522.                Returns  a  non-zero  string  if  the  window   is
  523.                currently in vi mode, and a zero string otherwise.
  524.  
  525.  
  526.  
  527. Sprite v.1.0        Printed:  August 15, 1990                   8
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534. TX                        User Commands                        TX
  535.  
  536.  
  537.  
  538.           vvii ttaabb
  539.                Move the caret to the next tab stop.
  540.  
  541.           vvii uupp
  542.                Move the caret up one line.
  543.  
  544.           vvii vvtt110000 _m_o_d_e
  545.                If mode is  nonzero,  tx  enters  vt100  emulation  |
  546.                mode.   If  mode is zero, tx exits vt100 emulation  |
  547.                mode.  Not all vt100 functions are emulated.
  548.  
  549.  
  550. CCOOMMMMAANNDD PPRROOCCEEDDUURREESS
  551.      In addition to the  built-in  commands  described  above,  a  |
  552.      number  of Tcl command procedures are created by the default  |
  553.      ttxx startup file.  They may be  invoked  just  like  built-in  |
  554.      commands, and are described below.                            |
  555.  
  556.      sshhoowwBBiinnddiinnggss _b_i_n_d_i_n_g _b_i_n_d_i_n_g ...                                   ||
  557.           Same as in mmxx.                                           |
  558.  
  559.      sshhoowwMMeennuuss _n_a_m_e _n_a_m_e ...                                            ||
  560.           Same as in mmxx.                                           |
  561.  
  562.      sshhoowwPPrrooccss _n_a_m_e _n_a_m_e ...                                            ||
  563.           Same as in mmxx.                                           |
  564.  
  565.      sshhoowwVVaarrss _n_a_m_e _n_a_m_e ...                                             ||
  566.           Same as in mmxx.                                           |
  567.  
  568.      wwhheerree                                                              ||
  569.           Same as in mmxx.
  570.  
  571.  
  572. TTEERRMMCCAAPP IINNFFOORRMMAATTIIOONN
  573.      TTxx stores an up-to-date termcap entry in the  tteerrmmccaapp  vari-
  574.      able, and initializes the TERM and TERMCAP environment vari-
  575.      ables when it starts up, so that you can run  programs  that
  576.      use  termcap  information.   If  you change the size of a ttxx
  577.      window, ttxx will update the tteerrmmccaapp variable and  invoke  the
  578.      TIOCSWINSZ  ioctl  to  notify the application, but it cannot
  579.      update the TERM and TERMCAP  environment  variables  in  the
  580.      application;   you can use the ``Set Termcap'' menu entry to
  581.      invoke shell commands to update TERM and  TERMCAP.   If  you
  582.      use  ttxx to rlogin to a different machine, most machines have
  583.      never heard of ttxx so they don't have entries for it in their
  584.      /etc/termcap  files.   There  are  two possible solutions to
  585.      this problem: a) you can invoke  the  ``Set  Termcap''  menu
  586.      entry  after  you've gotten logged in to the remote machine;
  587.      b) you can use the _t_x_i_n_f_o program as  part  of  your  .login
  588.      shell  script, in order to set up the TERMCAP automatically.
  589.      See the manual page for _t_x_i_n_f_o for details.
  590.  
  591.  
  592.  
  593. Sprite v.1.0        Printed:  August 15, 1990                   9
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600. TX                        User Commands                        TX
  601.  
  602.  
  603.  
  604. CCOOMMMMAANNDD SSUUBBWWIINNDDOOWW
  605.      Same as in mmxx.
  606.  
  607.  
  608. MMUULLTTIIPPLLEE WWIINNDDOOWWSS OONN SSAAMMEE TTYYPPEESSCCRRIIPPTT
  609.      The ooppeenn command may be used to open several windows on  the
  610.      same  typescript.  The windows behave identically except for
  611.      one thing: window size.  There is a single window size asso-
  612.      ciated  with the typescript, which is returned when applica-
  613.      tions perform TIOCGWINSZ ioctl  operations  on  the  pseudo-
  614.      terminal.   If  the  different windows have different sizes,
  615.      then Tx always uses the size from a particular  one  of  the
  616.      windows   (usually   the   first   window   created  on  the
  617.      typescript).  The other windows are  labelled  AAlltteerrnnaattee  at
  618.      the  right  side  of their title bars to indicate that their
  619.      sizes will not be reflected to the application.
  620.  
  621.  
  622. SSEEEE AALLSSOO
  623.      mx, txcmd, txinfo
  624.  
  625.  
  626. KKEEYYWWOORRDDSS
  627.      mouse, terminal emulator, typescript, window
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659. Sprite v.1.0        Printed:  August 15, 1990                  10
  660.  
  661.  
  662.  
  663.